projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abcae0c
)
stylecontext: Use our own color resolve function
author
Benjamin Otte
<otte@redhat.com>
Wed, 11 Jan 2012 02:04:00 +0000
(
03:04
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 11 Jan 2012 14:48:54 +0000
(15:48 +0100)
... instead of using the StyleProperties.
gtk/gtkstylecontext.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstylecontext.c
b/gtk/gtkstylecontext.c
index 5f7d644d021b91652c52aed8b78286fe6e9e0c85..0b25a3277e1176490c483b9bd469fedbf4f314da 100644
(file)
--- a/
gtk/gtkstylecontext.c
+++ b/
gtk/gtkstylecontext.c
@@
-2391,7
+2391,7
@@
_gtk_style_context_peek_style_property (GtkStyleContext *context,
else
g_value_init (&pcache->value, GDK_TYPE_COLOR);
- if (
gtk_symbolic_color_resolve (color, data->store
, &rgba))
+ if (
_gtk_style_context_resolve_color (context, color
, &rgba))
{
if (G_PARAM_SPEC_VALUE_TYPE (pspec) == GDK_TYPE_RGBA)
g_value_set_boxed (&pcache->value, &rgba);